package com.elink.enginerring.file.entity;

import java.util.Date;
import java.util.List;

import com.elink.enginerring.category.entity.DetailCategory;
import com.elink.enginerring.type.entity.Type;

public class File {

	private String fileId; // 文件ID

	private Integer typeId; // 文件后缀类型

	private Integer tcId;// 一级分类

	private Integer scId;// 二级分类

	private String name;// 文件名称

	private Float size;// 文件大小

	private Date uploadTime;// 上传时间

	private Integer downloadCount;// 下载次数

	private String tagIds;// 文件标签

	private Integer collectionCount;// 收藏次数

	private Float price;// 文件价格

	private String userId;// 上传人

	private String path; // 文件路径

	private Integer commentCount; // 评论数

	private int authStatus; // 是否认证 0--未认证，1--已认证,默认为0

	private int deleteStatus; // 是否删除 0--未删除 1--删除,默认为0
	
	private String introduction;// 简介

	private Integer browseCount;// 浏览次数

	private Integer cardinal;// 基数
	
	private int hierId;//体系Id
	
	private  int grade;//等级 ，1--初级，2--进阶
	
	/**
	 * 关联
	 */
	List<Tag> tagList;
	private Type type;// 文件格式
	List<DetailCategory> list; //资料分类

	public String getFileId() {
		return fileId;
	}

	public void setFileId(String fileId) {
		this.fileId = fileId == null ? null : fileId.trim();
	}

	public Integer getTypeId() {
		return typeId;
	}

	public void setTypeId(Integer typeId) {
		this.typeId = typeId;
	}

	public Integer getTcId() {
		return tcId;
	}

	public void setTcId(Integer tcId) {
		this.tcId = tcId;
	}

	public Integer getScId() {
		return scId;
	}

	public void setScId(Integer scId) {
		this.scId = scId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name == null ? null : name.trim();
	}

	public Float getSize() {
		return size;
	}

	public void setSize(Float size) {
		this.size = size;
	}

	public Date getUploadTime() {
		return uploadTime;
	}

	public void setUploadTime(Date uploadTime) {
		this.uploadTime = uploadTime;
	}

	public Integer getDownloadCount() {
		return downloadCount;
	}

	public void setDownloadCount(Integer downloadCount) {
		this.downloadCount = downloadCount;
	}

	public String getTagIds() {
		return tagIds;
	}

	public void setTagIds(String tagIds) {
		this.tagIds = tagIds;
	}

	public Integer getCollectionCount() {
		return collectionCount;
	}

	public void setCollectionCount(Integer collectionCount) {
		this.collectionCount = collectionCount;
	}

	public Float getPrice() {
		return price;
	}

	public void setPrice(Float price) {
		this.price = price;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId == null ? null : userId.trim();
	}

	public String getPath() {
		return path;
	}

	public void setPath(String path) {
		this.path = path == null ? null : path.trim();
	}

	public Integer getCommentCount() {
		return commentCount;
	}

	public void setCommentCount(Integer commentCount) {
		this.commentCount = commentCount;
	}

	public int getAuthStatus() {
		return authStatus;
	}

	public void setAuthStatus(int authStatus) {
		this.authStatus = authStatus;
	}

	public int getDeleteStatus() {
		return deleteStatus;
	}

	public void setDeleteStatus(int deleteStatus) {
		this.deleteStatus = deleteStatus;
	}

	public String getIntroduction() {
		return introduction;
	}

	public void setIntroduction(String introduction) {
		this.introduction = introduction == null ? null : introduction.trim();
	}

	public Integer getBrowseCount() {
		return browseCount;
	}

	public void setBrowseCount(Integer browseCount) {
		this.browseCount = browseCount;
	}

	public Integer getCardinal() {
		return cardinal;
	}

	public void setCardinal(Integer cardinal) {
		this.cardinal = cardinal;
	}

	public List<Tag> getTagList() {
		return tagList;
	}

	public void setTagList(List<Tag> tagList) {
		this.tagList = tagList;
	}

	public Type getType() {
		return type;
	}

	public void setType(Type type) {
		this.type = type;
	}

	public List<DetailCategory> getList() {
		return list;
	}

	public void setList(List<DetailCategory> list) {
		this.list = list;
	}

	public int getHierId() {
		return hierId;
	}

	public void setHierId(int hierId) {
		this.hierId = hierId;
	}

	public int getGrade() {
		return grade;
	}

	public void setGrade(int grade) {
		this.grade = grade;
	}
}